package com.mh.dao;

import com.mh.domain.AppUserRole;

import java.util.Set;

import org.skyway.spring.util.dao.JpaDao;

import org.springframework.dao.DataAccessException;

/**
 * DAO to manage AppUserRole entities.
 * 
 */
public interface AppUserRoleDAO extends JpaDao<AppUserRole> {

	/**
	 * JPQL Query - findAppUserRoleByUserName
	 *
	 */
	public Set<AppUserRole> findAppUserRoleByUserName(String userName1) throws DataAccessException;

	/**
	 * JPQL Query - findAppUserRoleByUserName
	 *
	 */
	public Set<AppUserRole> findAppUserRoleByUserName(String userName1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findAppUserRoleById
	 *
	 */
	public AppUserRole findAppUserRoleById(Integer id1) throws DataAccessException;

	/**
	 * JPQL Query - findAppUserRoleById
	 *
	 */
	public AppUserRole findAppUserRoleById(Integer id1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findAllAppUserRoles
	 *
	 */
	public Set<AppUserRole> findAllAppUserRoles() throws DataAccessException;

	/**
	 * JPQL Query - findAllAppUserRoles
	 *
	 */
	public Set<AppUserRole> findAllAppUserRoles(int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findAppUserRoleByRoleNameContaining
	 *
	 */
	public Set<AppUserRole> findAppUserRoleByRoleNameContaining(String roleName1) throws DataAccessException;

	/**
	 * JPQL Query - findAppUserRoleByRoleNameContaining
	 *
	 */
	public Set<AppUserRole> findAppUserRoleByRoleNameContaining(String roleName1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findAppUserRoleByPrimaryKey
	 *
	 */
	public AppUserRole findAppUserRoleByPrimaryKey(Integer id1_1) throws DataAccessException;

	/**
	 * JPQL Query - findAppUserRoleByPrimaryKey
	 *
	 */
	public AppUserRole findAppUserRoleByPrimaryKey(Integer id1_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findAppUserRoleByApplication
	 *
	 */
	public Set<AppUserRole> findAppUserRoleByApplication(String application1) throws DataAccessException;

	/**
	 * JPQL Query - findAppUserRoleByApplication
	 *
	 */
	public Set<AppUserRole> findAppUserRoleByApplication(String application1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findAppUserRoleByUserNameContaining
	 *
	 */
	public Set<AppUserRole> findAppUserRoleByUserNameContaining(String userName1_1) throws DataAccessException;

	/**
	 * JPQL Query - findAppUserRoleByUserNameContaining
	 *
	 */
	public Set<AppUserRole> findAppUserRoleByUserNameContaining(String userName1_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findAppUserRoleByRoleName
	 *
	 */
	public Set<AppUserRole> findAppUserRoleByRoleName(String roleName1_1) throws DataAccessException;

	/**
	 * JPQL Query - findAppUserRoleByRoleName
	 *
	 */
	public Set<AppUserRole> findAppUserRoleByRoleName(String roleName1_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findAppUserRoleByApplicationContaining
	 *
	 */
	public Set<AppUserRole> findAppUserRoleByApplicationContaining(String application1_1) throws DataAccessException;

	/**
	 * JPQL Query - findAppUserRoleByApplicationContaining
	 *
	 */
	public Set<AppUserRole> findAppUserRoleByApplicationContaining(String application1_1, int startResult, int maxRows) throws DataAccessException;

}